﻿using MediatR;
using SY.BasicData.ErrorCode;

namespace SY.BasicData.Api.Write.Basic.Applications.Command
{
    public class AddBasicCommand : IRequest<ApiResult<int>>
    { /// <summary>
      /// 商品名称
      /// </summary>
        public int Sid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string License { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string Picture { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int? Completeness { get; set; }

        public string Creator { get; set; } = string.Empty;
        public DateTime? CreatorDate { get; set; }
    }
}
